package com.xinchuang.service.targetSystem;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinchuang.common.Result;
import com.xinchuang.entity.targetSystem.AirPlane;
import com.xinchuang.vo.AirPlaneVo;

/**
 * @author zkwczx
 */
public interface AirPlaneService extends IService<AirPlane> {

    /**
     * 新增
     * @param airPlane
     * @return
     */
    Result addOrUpdateAirPlane(AirPlaneVo airPlane);

    /**
     * 删除
     * @param id
     * @return
     */
    Result deletePlane(String id);

    /**
     * 查询单个
     * @param id
     * @return
     */
    Result selectPlaneOnly(String id);

    /**
     * 查询列表
     * @param isPull
     * @param pageNum
     * @param pageSize
     * @return
     */
    Result selectPlaneList(Boolean isPull, Integer pageNum, Integer pageSize);

}
